#ifndef _DevicesHash_H_
#define _DevicesHash_H_

typedef enum {
	HASH_SDBM = 0,
	HASH_RS,
	HASH_JS,
	HASH_PJW,
	HASH_ELF,
	HASH_BKDR,
	HASH_DJB,
	HASH_AP,
}HashPolynomialEnum;



uint32_t SDBMHash(uint8_t *str);
uint32_t RSHash(uint8_t *str);
uint32_t JSHash(uint8_t *str);
uint32_t PJWHash(uint8_t *str);
uint32_t ELFHash(uint8_t *str);
uint32_t BKDRHash(uint8_t *str);
uint32_t DJBHash(uint8_t *str);
uint32_t APHash(uint8_t *str);
uint32_t fnHashGet32(uint8_t * pszBuff, HashPolynomialEnum iHashCategory);

#endif
